#include "ExampleACUASButterfly5.h"


PROGRAM_INIT

	
	
	ACTIVATE_LCD // initialize the LCD. The output begins at the first position of the display.
	CLEAR_LCD // Clears the LCD screen.	

PROGRAM_START

	
	LCD_TEXT("START")
	while(1)
	{
		
		if(!(PINB & (1 << 4)))
		{
			CLEAR_LCD
			while(!(PINB & (1 << 4)))
				DO_NOTHING
			LCD_TEXT("HALLO WIE GEHTS")
		}
		if(!(PINB & (1 << 7)))
		{	
			while(!(PINB & (1 << 7)))
				DO_NOTHING
			CLEAR_LCD
		}
				
		//ON_JOYSTICK_LEFT LCD_TEXT("HALLO WIE GEHTS")
		//ON_JOYSTICK_CENTER{WAIT_FOR_RELEASE_JOYSTICK_CENTER LCD_TEXT("HALLO WIE GEHTS")}
		
		//ON_JOYSTICK_DOWN{WAIT_FOR_RELEASE_JOYSTICK_DOWN CLEAR_LCD}

	}

	





PROGRAM_END
